package cc.catface.base.net;

import java.util.Map;

import cc.catface.base.net.core.BaseResponse;
import cc.catface.base.net.domain.ResultBody;
import io.reactivex.Observable;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.QueryMap;
import retrofit2.http.Url;

public interface Api {

    @GET
    Observable<BaseResponse<String>> time(@Url String url);

    @POST
    Observable<BaseResponse<ResultBody>> paramE(@Url String url, @QueryMap Map<String, String> map, @Body ResultBody body);
}

